﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 销售支持表
    /// 版 本：V2.6.200612
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-07-20 
    /// </summary>
    [Table("WFORM_SALESSUPPORT")]
    public class SalesSupportEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 流程主键
        /// </summary>
        [Column("F_FLOWID")]
        public string FlowId { get; set; }
        /// <summary>
        /// 流程标题
        /// </summary>
        [Column("F_FLOWTITLE")]
        public string FlowTitle { get; set; }
        /// <summary>
        /// 紧急程度
        /// </summary>
        [Column("F_FLOWURGENT")]
        public int? FlowUrgent { get; set; }
        /// <summary>
        /// 流程单据
        /// </summary>
        [Column("F_BILLNO")]
        public string BillNo { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        [Column("F_APPLYUSER")]
        public string ApplyUser { get; set; }
        /// <summary>
        /// 申请日期
        /// </summary>
        [Column("F_APPLYDATE")]
        public DateTime? ApplyDate { get; set; }
        /// <summary>
        /// 申请部门
        /// </summary>
        [Column("F_APPLYDEPT")]
        public string ApplyDept { get; set; }
        /// <summary>
        /// 相关客户
        /// </summary>
        [Column("F_CUSTOMER")]
        public string Customer { get; set; }
        /// <summary>
        /// 相关项目
        /// </summary>
        [Column("F_PROJECT")]
        public string Project { get; set; }
        /// <summary>
        /// 售前支持
        /// </summary>
        [Column("F_PSALESUPINFO")]
        public string PSaleSupInfo { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        [Column("F_STARTDATE")]
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        [Column("F_ENDDATE")]
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 支持天数
        /// </summary>
        [Column("F_PSALESUPDAYS")]
        public string PSaleSupDays { get; set; }
        /// <summary>
        /// 准备天数
        /// </summary>
        [Column("F_PSALEPREDAYS")]
        public string PSalePreDays { get; set; }
        /// <summary>
        /// 机构咨询
        /// </summary>
        [Column("F_CONSULMANAGER")]
        public string ConsulManager { get; set; }
        /// <summary>
        /// 售前顾问
        /// </summary>
        [Column("F_PSALSUPCONSUL")]
        public string PSalSupConsul { get; set; }
        /// <summary>
        /// FileJson
        /// </summary>
        [Column("F_FILEJSON")]
        public string FileJson { get; set; }
        /// <summary>
        /// 销售总结
        /// </summary>
        [Column("F_SALSUPCONCLU")]
        public string SalSupConclu { get; set; }
        /// <summary>
        /// 交付说明
        /// </summary>
        [Column("F_CONSULTRESULT")]
        public string ConsultResult { get; set; }
        /// <summary>
        /// 咨询评价
        /// </summary>
        [Column("F_IEVALUATION")]
        public string IEvaluation { get; set; }
        /// <summary>
        /// 发起人总结
        /// </summary>
        [Column("F_CONCLUSION")]
        public string Conclusion { get; set; }
    }
}
